<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>客房详情</title>
</head>
<body>
<div style="text-align: center;margin: 0 auto">
	<table  border=1 style="border-collapse: collapse">
		<caption>
			<font size=4 face=华文新魏>客房详情</font>
		</caption>
		<tr>
			<td><font size=4 face=华文新魏>客房编号</font></td>
			<td>
				${roomDetail.roomId }
			</td>
		</tr>
		<tr>
			<td><font size=4 face=华文新魏>类型</font></td>
			<td>
				<font size=4 face=华文新魏>${roomType[roomDetail.roomType]}</font>
			</td>
		</tr>
		<tr>
			<td><font size=4 face=华文新魏>原价</font></td>
			<td>
				${roomDetail.roomPrePrice }
			</td>
		</tr>
		<tr>
			<td><font size=4 face=华文新魏>折扣价</font></td>
			<td>
				${roomDetail.roomNowPrice }
			</td>
		</tr>
		<tr>
			<td><font size=4 face=华文新魏>客房状态</font></td>
			<td>
				<font size=4 face=华文新魏>${roomState[roomDetail.roomState]}</font>
			</td>
		</tr>
		<tr>
			<td><font size=4 face=华文新魏>图片</font></td>
			<td>
					<img alt="" width="250" height="250" style="object-fit: contain"
					src="../../../images/roomPhoto/${roomDetail.roomType}.png"/>
			</td>
		</tr>
		<tr>
			<td><font size=4 face=华文新魏>客房描述</font></td>
			<td>
				<font size=4 face=华文新魏>${roomDetail.roomDescribe}</font>
			</td>
		</tr>
	</table>
</div>
</body>
</html>